package com.test;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author yanggld
 * @Date 2020/3/6-9:55
 */
@Controller
public class IndexController {

    @RequestMapping("/logina1")
    public String logina1(Model model) {
        return "logina1";
    }

    @RequestMapping("/indexa1")
    public String indexa1(Model model) {
        return "indexa1";
    }

    @RequestMapping("/logina2")
    public String logina2(Model model) {
        return "logina2";
    }

    @RequestMapping("/indexa2")
    public String indexa2(Model model) {
        return "indexa2";
    }


    @RequestMapping("/indexa")
    public String indexa(Model model) {
        return "indexa";
    }
    @RequestMapping("/indexb")
    public String indexb(Model model) {
        return "indexb";
    }
}
